<template>
  <web-view :src="url"></web-view>
</template>

<script setup lang="ts">
import { onLoad } from '@dcloudio/uni-app'
import { ref } from 'vue'
const url = ref('')
onLoad((option: any) => {
  const result = JSON.parse(decodeURIComponent(option.url))
  url.value = result.url
})
</script>

<style scoped></style>
